package cn.xyy.common.domain.system.notice;

import cn.xyy.common.annotation.jdbc.Column;
import cn.xyy.common.annotation.jdbc.Table;
import cn.xyy.common.domain.mvc.BaseEntity;

/**
 * 系统通知表
 * 
 * @author xyy
 *
 */
@Table("t_sys_notice")
public class Notice extends BaseEntity {

	@Column(value = "id", primaryKey = true)
	private String id;
	@Column("title")
	private String title;
	@Column("content")
	private String content;
	@Column("type")
	private Integer type; // 消息类型
	@Column("status")
	private Integer status;// 用户状态1:正常;2:禁用

	public String getId() {
		return id;
	}

	public Notice setId(String id) {
		this.id = id;
		return this;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

}
